<template>
  <div class="demo-image__placeholder">
    <div class="block">
      <div slot="placeholder" class="image-slot">
          <el-carousel :interval="4000" type="card" height="400px">
              <el-carousel-item v-for="item in imageSrc" :key="item">
                  <el-image style='height: 100%' :src="item"></el-image>
              </el-carousel-item>
          </el-carousel>
          <el-calendar v-model="value">
          </el-calendar>
      </div>
    </div>
  </div>
</template>

<script>
export default {
    data() {
        return {
            imageSrc:["image/2.jpg","image/3.jpg","image/4.png","image/5.jpg","image/6.jpg"],
            value: new Date()
        }
    }
}
</script>

<style scoped>
.el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 200px;
    margin: 0;
}

.el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
}
</style>
